package com.chenyuhan.myview.testViewCanvas.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.chenyuhan.myview.R;

/**
 * Created by Administrator on 2017/7/5 0005.
 */

public class TestVIewCanvasActivity extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_testview_canvas);
        findViewById(R.id.canvas_iamge_view).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(TestVIewCanvasActivity.this, CanvasImageViewActivity.class);
                startActivity(intent);
            }
        });
    }
}
